All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.naming.directory.SearchResult

java.lang.Object
   |
   +----java.naming.NameClassPair
           |
           +----java.naming.Binding
                   |
                   +----java.naming.directory.SearchResult

public class SearchResult
extends Binding
A SearchResult is an item in the SearchEnumeration, which is the result of the DSContext.search() operations.


Variable Index

 o attrs

Constructor Index

 o SearchResult(String, Object, AttributeSet)
Constructs a search result using the result's name, its bound object, and its attributes.

Method Index

 o getAttributes()
Retrieves the attributes in this search result.

Variables

 o attrs
 protected AttributeSet attrs

Constructors

 o SearchResult
 public SearchResult(String name,
                     Object obj,
                     AttributeSet attrs)
Constructs a search result using the result's name, its bound object, and its attributes.

Parameters:
name - The name of the search item.
obj - The object bound to name.
attrs - The attributes that was requested to be returned with this search item.

Methods

 o getAttributes
 public AttributeSet getAttributes()
Retrieves the attributes in this search result.

Returns:
The attributes in this search result.

All Packages  Class Hierarchy  This Package  Previous  Next  Index